-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
rm: overriding the libc call when implementation does not match gnu coreutils exactly #9604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
GNU testsuite comparison: |
1 similar comment
|
GNU testsuite comparison: |
|
sorry, it needs to be rebased |
0e464e9 to
9466d55
Compare
|
GNU testsuite comparison: |
| # spell-checker:ignore (paths) abmon deref discrim eacces getlimits getopt ginstall inacc infloop inotify reflink ; (misc) INT_OFLOW OFLOW | ||
| # spell-checker:ignore baddecode submodules xstrtol distros ; (vars/env) SRCDIR vdir rcexp xpart dired OSTYPE ; (utils) greadlink gsed multihardlink texinfo CARGOFLAGS | ||
| # spell-checker:ignore openat TOCTOU CFLAGS tmpfs gnproc | ||
| # spell-checker:ignore hfsplus casefold chattr dirp memcpy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is hfsplus really used?
|
need to be rebased |
9466d55 to
5ae2096
Compare
| # * the selinux crate is handling errors | ||
| # * the test says "maybe we should not fail when no context available" | ||
| sed -i -e "s|returns_ 1||g" tests/cp/no-ctx.sh | ||
| "${SED}" -i -e "s|returns_ 1||g" tests/cp/no-ctx.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have
Lines 14 to 15 in 456252f
| command -v gsed && sed(){ gsed "$@";} | |
| SED=$(command -v gsed||command -v sed) # for find...exec... |
CodSpeed Performance ReportMerging this PR will degrade performance by 15.3%Comparing Summary
Performance Changes
Footnotes
|
|
GNU testsuite comparison: |
This was originally intended to be a demonstration for how we could modify the integration tests to recognize the libc calls we were using.
I discovered that I could wrap the implementation in this helper method to be able to address this tests in a relatively readable way compared to modifying the original code.
As it stands I believe there are three skipped tests in total right now that are skipped for this reason